package com.wangshb.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangshb.upms.core.tree.TreeNode;
import com.wangshb.upms.entity.UpmsRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

@Mapper
public interface UpmsRoleMapper extends BaseMapper<UpmsRole> {

    List<UpmsRole> findList(Page<UpmsRole> page,@Param("condition") UpmsRole condition);


    List<TreeNode> findForRoleTree();
}
